<%@ Control Language="C#" AutoEventWireup="true" Inherits="NopSolutions.NopCommerce.Web.Administration.Modules.SpecificationAttributesControl"
    CodeBehind="SpecificationAttributes.ascx.cs" %>
<div class="section-header">
    <div class="title">
        <img src="Common/ico-catalog.png" alt="Product Specification Attributes" />
        Specification Attributes
    </div>
    <div class="options">
        <input type="button" onclick="location.href='SpecificationAttributeAdd.aspx'" value="Add new"
            id="btnAddNew" class="adminButtonBlue" title="Add a new product specification attribute" />
    </div>
</div>
<asp:GridView ID="gvSpecificationAttributes" runat="server" AutoGenerateColumns="False"
    Width="100%">
    <Columns>
        <asp:BoundField DataField="SpecificationAttributeID" HeaderText="SpecificationAttributeID"
            Visible="False"></asp:BoundField>
        <asp:TemplateField HeaderText="Name" ItemStyle-Width="20%">
            <ItemTemplate>
                <a href="SpecificationAttributeDetails.aspx?SpecificationAttributeID=<%#Eval("SpecificationAttributeID")%>"
                    title="Edit product specification attribute">
                    <%#Server.HtmlEncode(Eval("Name").ToString())%>
                </a>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Edit" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="12%"
            ItemStyle-HorizontalAlign="Center">
            <ItemTemplate>
                <a href="SpecificationAttributeDetails.aspx?SpecificationAttributeID=<%#Eval("SpecificationAttributeID")%>"
                    title="Edit product specification attribute">Edit </a>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
</asp:GridView>
